﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using Xtee.Core;
using Xtee.Core.Utils;

namespace Xtee.CodeDom.MetaInfo
{
    public class HeaderClassNameInfo:SchemaObjectClassNameInfo
    {
        public const string NamespaceSuffix = ".Headers";

        public HeaderClassNameInfo(XmlQualifiedName qualifiedName, ISchemaObjectResolver resolver)
            : base(qualifiedName, resolver)
        {
            Namespace += NamespaceSuffix;
        }
        
        public override string GetNamespaceFolder()
        {
            return StringUtils.ToCodeNamespace(QualifiedName);
        }
    }
}
